package com.tc.erp.service.impl;

import com.tc.erp.pojo.Account;
import com.tc.erp.service.IAccountService;

public class AccountService implements IAccountService {

	public Account findAccountByName(String name) {
		if(name.equals("tongchang")){
			Account account  = new Account();
			account.setName("tongchang");
			account.setPwd("123456");
			return account;
		}
		return null;
	}

}
